import request from '@/utils/request'

export const getUserList = (params: { page: number }) => {
    console.log('getUserList')
  return request.get('/api/test/test2', { params })
}

export const createUser = (data: { name: string }) => {
  return request.post('/users', data)
}